package com.lhn.service.impl;

import com.lhn.dao.LogDao;
import com.lhn.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lhn
 * @date 2024-08-23 14:27
 */
@Service
public class LogServiceImpl implements LogService {

    @Autowired
    private LogDao logDao;

    @Override
    public void log(String from, String to, double money) {
        logDao.log("转账操作由" + from + "到" + to + "，金额" + money);
    }
}
